home *** CD-ROM | disk | FTP | other *** search
/ MacGames Sampler / PHT MacGames Bundle.iso / MacSource Folder / Samples from the CD / Add-ons / CAfterDark20 / GlueCode.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-03  |  848 b   |  28 lines  |  [TEXT/KAHL]

  1. #define _H_GlueCode
  2.  
  3. /*
  4.  * © Copyright Jeff Francis 1990
  5.  * All rights reserved
  6.  *
  7.  * $Id$
  8.  *
  9.  * Description - GlueCode.c must know the class name of the object
  10.  * that you want to allocate when the screen saver is activated.
  11.  * In this file you need to include the header file for the that
  12.  * class and also to #define SUBCLASS to the name of the class constant.
  13.  *
  14.  * For example, you can create an object of type CAfterDark to
  15.  * get a basic screen saver that simple blanks the screen.  The
  16.  * following two lines are needed in this file to do this:
  17.  *        #include "CAfterDark"
  18.  *        #define SUBCLASS "CAfterDark"
  19.  *
  20.  */
  21.  
  22. /*
  23.  * As distributed, we'll create a CProjectile object.  When your write
  24.  * your own CAfterDark subclass, you'll have to change this code to
  25.  * reference that subclass.
  26.  */
  27. #include "CProjectile.h"
  28. #define SUBCLASS CProjectile